package projeto;

import java.util.Comparator;

public class GradeComparator implements Comparator<BabyName>{
	@Override
	public int compare(BabyName baby0, BabyName baby1) {
		return baby0.getGrade() - baby1.getGrade();
	}
	
}
